package com.funtl.spring.cloud.alibaba.unit.domain;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @ClassName News
 * @Description TODO
 * @Author Mr.Starry
 * @Date 2020/1/1 14:38
 * @Version 1.0
 */
@Data
@Document(indexName = "news", type = "_doc")
public class News {
    private Integer id;
    private String title;
    private String url;
    private String content;
}
